﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BCDto.TMS.Contraband.ContrabandConfig
{
    /// <summary>
    /// 违禁品配置添加信息模型
    /// </summary>
    public class ContrabandConfigRequestDto
    {
        /// <summary>
        /// 违禁品分类Id
        /// </summary>            
        [Display(Name = "违禁品分类Id")]
        [Required(ErrorMessage = "{0} 不能为空")]
        public int ContrabandCategoryId { get; set; }

        /// <summary>
        /// 违禁品内容
        /// </summary>            
        [Display(Name = "违禁品内容")]
        [Required(ErrorMessage = "{0} 不能为空")]
        public string ContrabandContent { get; set; }
    }
}
